<!--#include virtual="/dzps/p1.asp"-->
<%
	s11 "select * from [user] where [ID]={id}",""
	' easp.db.exec("ALTER TABLE [user] ADD [is_duty] Integer NULL")
%>
<!DOCTYPE html>
<html>
<head>
<%easp.include "h.asp"%>
</head>
<body>
  <div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin" style="padding: 20px 0 0 0;">
	<%
	echo "<div class='layui-form-item'>"
	echo "<label class='layui-form-label'>当前状态</label>"
	if val("is_duty")="1" then
		cb "is_duty","激活","checked"
	else
		cb "is_duty","激活",""
	end if
	echo "</div>"
	echo myopt("user_typ","用户类型",sql2arr("select id,name1 from baseinfo where mode='用户类型'"),iif(val("user_typ") = "",0,val("user_typ")))
	echo myjs1("input1_r.html","fieldn|username,label|用户名,"&"value|"&val("username")&",required::|")
	echo myjs1("input1.html","fieldn|truename,label|真实姓名,"&"value|"&val("truename")&",required::|required")
	echo myjs1("input1.html","fieldn|mobile,label|手机号,"&"value|"&val("mobile")&",required::|required")
	echo myjs1("input1.html","fieldn|iden,label|身份证号,"&"value|"&val("iden")&",required::|required")
	%>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-front-submit" value="确认">
    </div>

  </div>
  <script src="/dzps/src/layuiadmin/layui/layui.js"></script>  
  <script>
  layui.config({
    base: '/dzps/src/layuiadmin/' 
  }).extend({
    index: 'lib/index' 
  }).use(['index', 'set','form','user'],function(){
    var $ = layui.$
    ,setter = layui.setter
    ,admin = layui.admin
    ,form = layui.form;  
  });
  </script>  
</body>
</html>